<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<#include "/common/context.ftl">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
	用户管理
</title>
<link type="text/css" rel="stylesheet" href="../jquery/themes/default/easyui.css"/>
<link type="text/css" rel="stylesheet" href="../jquery/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="../css/style_common.css"/>
<script type="text/javascript" language="javascript" src="../jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" language="javascript" src="../jquery/jquery.easyui.min.js"></script>
<script type="text/javascript" language="javascript" src="../js/util.js"></script>
<script type="text/javascript" language="javascript" src="../js/tabpane.js"></script>
<script type="text/javascript" language="javascript" src="../js/json2.js"></script>
<script type="text/javascript" language="javascript" src="../js/manager/account.js"></script>
</head>
<script>
	$(function(){
		util.ready();
		Account.init(${searchUserType});
	});
</script>
<body>
  <#include "/common/manager_user_header.ftl">
<div class="box">
  <!--头部-->
  <#include "/common/page_header.ftl">
  <!--导航部分-->
  <#include "navigation.ftl">
  <!--左侧部分-->
  <#include "index_menu.ftl">
  <!--右侧部分-->
  <div class="right border_lan">
		<div class="lei_title">
			<h4>${searchUserTypeName}</h4>
		</div>
			<div class="lei_title_box">
				<div class="class_box1">  	
  					<table id="userListTable"></table>
  				</div>
  			</div>
  </div>
  <!--详细信息开始-->
  <div id="allInfo_dialog" class="easyui-window" closed="true" modal="true" title="详细信息" >
   <table width="100%">
		<tr height="30px">
			<td width = "30">用户名：</td>
			<td width ="100" align="left"><span id="_userName"></span></td>
			<td width="">头像：</td>
			<td width="60">头像</td>
		</tr>
		<tr height="30px">
			<td width = "60">登录名：</td>
			<td colspan="3"><span></span></td>
		</tr>
		<tr height="30px"> 
			<td width = "60">电子邮件：</td>
			<td colspan="3">${(user.email)!""}</td>
		</tr>
		<tr height="30px">
			<td width = "60">电话：</td>
			<td colspan="3">${(user.phone)!""}</td>
		</tr>
	</table>
  
  </div>
  <!--详细信息结束-->
  <div id="pwd_dialog" class="easyui-window" closed="true" modal="true" title="密码修改" >
  <input type="hidden" id="userId"/>
  <div class="divline"></div>
  <center>
  <form id="pwd_form">
  	<table>
  		<tr>
  			<td>用户名：</td>
  			<td><span id="userName" ></span></td>
  		</tr>
  		<tr>
  			<td>密码：</td>
  			<td><input type="password" id="pwd_old" class="easyui-validatebox" required="true" validType="length[6,12]"/></td>
  		</tr>
  		<tr>
  			<td>新密码：</td>
  			<td><input type="password" id="pwd_new" class="easyui-validatebox" required="true" validType="length[6,12]"/></td>
  		</tr>
  		<tr>
  			<td>密码确认：</td>
  			<td><input type="password" id="pwd_ck" class="easyui-validatebox" required="true" validType="length[6,12]" onChange="Account.checkPwd()"/>
  			</td>
  		</tr>
  	</table>
  	<span id="errorMsg" style="color:red"></span>
  	</form>
  	</center>
  	<div class="divline"></div>
  	<center><a href="#" class="easyui-linkbutton" iconCls="icon-ok" onClick="Account.sureChange()">确认</a></center>
  	<div class="divline"></div>
  </div>
  <#include "/common/page_footer.ftl">
</div>
</body>
</html>
